<?php
	class config {
		private $sql = array(
			'host' => '',
			'username' => '',
			'password' => '',
			'prefix' => ''
		);
		private $irc = array(
			'host' => '',
			'port' => 0,
			'password' => ''
		);
		private $my = array(
			'name' => '',
			'numeric' => 0
		);
		protected $loadmodules = array(
			'ncm',
//			'operserv',
//			'infoserv',
//			'statserv',
//			'aliza',
		);
		public function irc_connect(protocol_unreal &$irc) {
			return $irc->connect($this->irc['host'], $this->irc['port'], $this->irc['password']);
		}
		public function &new_server() {
			return new server($this->my['name'],$this->my['numeric']);
		}
        public function my_numeric() {
            return $this->my['numeric'];
        }
		public function sql_connect() {
			//TODO
		}
	}	
?>